package com.gaofans.nrpc.common.context;

import io.netty.util.concurrent.EventExecutor;
import io.netty.util.concurrent.EventExecutorGroup;

/**
 * @author GaoFans
 */
public interface SelectableExecutor extends EventExecutorGroup {

    /**
     * 根据id获取一个executor
     * @param id
     * @return
     */
    EventExecutor select(long id);

}
